<?php
	session_start();
	if (!isset($_SESSION['login_timeout']) || $_SESSION['login_timeout'] < time()) {
		echo "0";
	}else{
		echo $_SESSION['user'];
	}
?>